<?php
/**
 * @package pmapi
 * @copyright Copyright (c)2014 Enrico Fagnoni
 * @license GNU General Public License version 3, or later
 *
 * @since 1.0.0
 */
 
defined('_JEXEC') or die;

if (!class_exists('HomepageView')) require(JPATH_COMPONENT.DS.'views'.DS.'homepage.php');

class PmapiViewPmapi extends HomepageView
{
    protected $items=array(),$basicAuthEnabled=true,$datasetLicenseURL = '';
       
    public function display($tpl = null) 
    {
        $this->datasetLicenseURL = JComponentHelper::getParams('com_pmapi')->get('license',JURI::base());
        $this->items = $this->get('Items');
        parent::display();
        echo "
            <p>
                Platinum Mine APIs is an open source project 
                Copyright © 2014 by <a href='http://e-artspace.com/'>E-Artspace</a>
                as a contribute to the Semantic Web development.
            </p>
        ";
    }
}